package com.jim.study.delicacy_bjx.dao;
import com.jim.study.delicacy_bjx.entity.Delicacy;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component
public interface DelicacyMapper {
    List<Map<String,String>> getTopDelicaciesByHeat();
    Delicacy tipDelicacyDaily();
    List<Map<String,String>> findAll(Integer low,Integer high);
    List<Map<String,String>> getDelicacyByArea(List<String> listArea,Integer low,Integer high);
    List<Map<String,String>> getDelicacyByCuisine(List<String> listCuisine,Integer low,Integer high);
    List<Map<String,String>> getDelicacyByKeyword(List<String> listKeyword,Integer low,Integer high);
    List<Map<String,String>> getUserPreference(String username);


}
